initial code
basic processing structure