Alvar working, adding code to subscribe and do transform. Needs testing and fixing