Removed mut flag for DB queries