clearing up function calls to make them less ambiguous
fixed pipes for sort process ambiguous names for easier code reading