move instance of to enums