initial commit

few changes in move functions