combined for debugging