testing switch and control statement, create()