added processing stuff