added docs prototype