solution to assignment