started reimplementing wals fuinctionality in new framework