add another example, debug function for models