database calls working