moved example out into a separate package