updated work and add code to 6.1