removed logging from runp