define your own class