shoe  should now be built using references, rules are starting to be implemented