Added an extra step that completes the path
Formatted source code