refferingss commands in the database