added munchkin code