Added mapping for finding trailing spaces