added remove_last