implemented goal types editor