callbacks can be added to first position to be called
update phpdoc