remove trailing semicolons
change += to ->append
remove premature return