added atomic reg which might prove useful