return false if db queries fail