define.activate() can only be called once
remove $ for function type, use function( function(
remove $ for function type, use function( function(
decs getting a bit messy