code for working with/without ears