creating insert method & testing elements