adds print out to console for debug