updated prototype2