specify return name and return type for switchy score related functions