make proper redirection of processing