added remake util