fine tuned output, added runtime