rewrite to accept arguments and report in farinheit