a much better API for the processor handler that is better testable and now the functions do only one thing