added rm snippet