add code rotate effect