All of these pieces of code fail, but I thought I'd put them up anyway. Help?