changed some styling and fixed decide how to process bug