adding miranda's changes