remove exits, make it return error code
0.1.2