add logic to show pitch