updated algorithm
added work steps.
changed plus sign to comma