Made it functional.