updated readme, added explanation to one of the methods