remove a lot of semicolons because python