updated paper as per Craig's comments