coding #2 redirecting to the index when a conversion is executed