add debug point, add bool return for insert function