improved print for testing