Variables protected; output fixed