make basic ORM work