prototype code for project