added method to processor by tdd