getting to custom class