dispenser: extend rails up to a motor. This is the first working version