made some adjustments and removed an unneeded method in paper