perfecting input. started insertion and remove fns
no compiling issues for now