basename didn't need to be calculated an additional time