init and testing for other classes