trying to use database