initial work on analysis