add functions
fix bug with twirl
v1.2.0