Kuba task03 required attrs

Fixed pull request #271.