modifide to Chebishev (no int to scalar)