testing locally with load event rather than deviceload
saving data