comment cleanup, logging
cleared undefined vars, all is well