preliminary work on defining shapes