added show path and test for checking true and false