formatted code, now more human readable