remove cons example