In should add 20 lines to switch instead of a simple if ?