missing semicolon errors fixed
more fragments added