Changed 'return' to 'exit'