Implementing correct processflow