triets commands in the database