implemented suit switch statement