Impemented HRT first version