allocation routine added to simulation route