got fk ref working for custom objects