Start of object oriented switch (broken)