trying to sort out compilation failure