testing old code to see if it works