working on processing final result