finished back-end
several small typo corrections with some clean up