close to completion of assignment 1