Removed duplicate "invert" keyword