increasing functionality of database methods