simplified persistence calls, added query method