adjusted internal print lib