minor adjustments and bug fixes, added paper