Bug Fixing : creating enum by extending