adding code assignment 0 to 2