ticket:4 Solution (tests passed)