added bind func