ticket:3 Solution (tests passed)