Removed wayward 'X' from code that was showing 'X is not defined' error in code.