Should only do the functions while running.