Convience function for simple examples

Self explanatory