tested can_run, refactored it out from bin/