added bind when mixing in functions