Capitalization works and loops input