added enum package, changed Controls to and enum