removed prototype code