Since you're using a case statement, I'd suggest to look at case equality ( === ) :) Good to hear you're already working on this :D