correct Classes composition example