complite the class with 2 Environment and choose by switch case without Option method