check various way through the code