compile bind (I forgot to add the event in the arguments, derp)