first database operations