added thread structure
move takes now abs values