made spike solution for template testing