added colours
added printing
changed to include MI
fixed typo with float