Task6 - fixing order of methodes