started algorithm