added transformations source code
minor source code tweaks