Added middle and delete_if_contains methods