Closes #9. Upfront hw done.