Part2 checked

variables work correctly