use database calls