working on logging results