Out of curiosity, what was the motivation behind adding this?   It may be better to put in the main func (rev.go)