Wrote some code and tests