Added function and enum