first commit

function only works with one id, need to make it work for a vector of
ids...