Trying out database model