added exit() after syntax