working with database particalary