Replace switch with hack :-)