Removed exit 0 used for testing