Changed enum to string