Edited out junk code.