Added the whirlpool class