Adding mechanics for function binding