improved general processing outline
minor changes