First part of homework 04