methods for orm objects