more debugging... type mismatch