work on analysis2