added code and figures