volcano function & rotation