moving this to an example