added frag printing