using a Application.spark