DRY the running code