Trying to add handler at right level (not working)