switch statement for glass is working