code cleanup

cleaned up code, renders correctly.