working scatter demo