moved handler to head 2