Removed else if statement from this particular code for the time being.