add dependency before calling callback
use function name strings on dependencies, not the functions themselves