remove more redundant prototype code