Finished theoretical homework :)