fully working version with highlighting

now to add comments