making classes from objects %)