Basic flapping and pipe gen