the code I wrote for my personal site