switched to semicolons for sequencing. There is a bug with while loops but everything else seems to work