a system for algorithm