callbacks are now checked to be callbacks and not being stored in array