formating terminal output
check piezo as well
check piezo as well