started on relation generation.. this will be fun..