getting output