adding some baseline code to work backwards from