oops global var
add missing toSource method
return value when applying tansforms