add a convenience function: GetIntAtPath
rename it