use algorithm name variables in schedule
refactor tasks for better handling of add to current set