Added more complex prim example