put the variables back in
add docs