Cleaning up combineSGP logic