Add algorithm + rename 'c' to 's'