removed print and exit