added reinsert of console fun