reres commands in the database