updated prototype and validation steps