refactored and commented
updated report phith output information