Revert 8f8b224..994842e

This rolls back to commit 8f8b2248106212bcca990c92cb9d810f619fdc98.
working version for the homework 7