Assignment1 version 2