rewrite paper to reflect implementation changes