to public class