just realised remove method wont work for removing first node