template for version2
rearragements
functional test done