The 4'' PVC Elbow is anchored to the bottom with three right-angle braces, to prevent it from rotating. The Output pipe is held in place with GE Silicon II Household Glue (top side) and friction; very tight fit. The 45 degree coupling on the top has enough slight to allow it to rotate, but does not appear to leak.