some remaining details solved with problem 1 of 2 in addition to modification to validate_paths()