added functionality to processor