Changed code format

going to finish this tonight hopefully.