checking value of callback