Fixed incorrect subscription function names, fixed commas and semicolons