creating a constructor in database