operators allocation routine, to be updated and moved to other directory