Adopted usage of spike solution by @AlexKolpa