Custom Algorithm and Option example program