e.code is an int not a method