Read the book: The boomerang circuit