scalardata now passed separately, but need to handle asynchronous properly...