rem apply in shake