database working fine