initial commit switch statement