moved SameAsHandler into handler.go