modify coinfloor wrapper code