added manager for db management