first step trying to implement htb myself