functionized output to processing, allowing for it to be called in multiple places so the display isn't one fram short