clasical (functional ) JS OOP