workin through link class. check out datamapper