adding ORM stuff