converted tabs to spaces and got rid of trailing spaces