Refactored the "=" action into .equals();