added methods to db_parser