Changed toymain to gandalf