added at_is_db() check back in