Added complete prototype