Updating with code I wrote in another folder before discovering github!