work4-changed code