commit before adding new code from stack overflow

made changes to main — starting to experiment