added initial prototype code