added transformation stuff