This was a homework assignment