moved handler to head 3