better decorator struccture for ptinring