updated visual algorithm description