moved handler to head 1