changed stepping in linear movement to constant values;
addded hovering in writing function;