JS OOP homework 7