Code that didnt work