private-ified code