get rid of exit 1. could be dangerous