can save object to database