updated janitor to handle orders