Add marker to algorithm