@switch does not seem to work with Long