Made a more general example