added switch, arraycopy and polymorphstuff2