getting familiar with code, minor changes