scatter and clear buttons working