cleaned spaces, still terrible code