assignment 1 & 2