Added menu entry for complete entry.

Refactored leg-complete to get rid of some side effect usage