backup of previous versions.

version1: lots of comments
version2: working