documentation; fixed gatekeeper calls