Added reverse, removed moronic mallocs.