implemented checkRunning
derp. forgot permission