Fix scatter issue. Code still not working.