small improvements. trying to use phil file