PYRAMID SECRET FUNCTION