Added rest of case checks and some alerts to make sure they work
Added = sign and moved up C and CE