Fixed root problem and added action model