Main mode doesn't work