add class name to prev commit