Add quick def() method example