Not sure what this code was supposed to do.