changed createState method