sample newInstance without constructor