removed locks from database for faster access