One Sample Power code