added function retriveCell from db