Use exit instead of return