adding missing processor
minor refactoring