removing usage of deprecated interface
reworked order root type