update assignment 1a