working on Database