adds logging and performance tracking capabilities