wrote notes and cut decimal places of output