assignment2 before submit