implemented reverse ArrayList removal