deleted the ternary note that I had written in the code since it is no longer needed.