First attempt at binding/applying functions