rearranged code
removed trailing spaces