another try to assignment 1