added a way to compile results