sub class setup and ready