trying to track down 'unary operator' warning