WORKED on Database class.