zyxhrb's answer to Assignment 2