cleaner example code