redeigned the convert challenge