+add header and comments and rename variables to reflect their use better