made more generic to match kirby blog tutorial