finished modifing miranda
now removing unneccesary code step