made print kea more efficient