added from spark