added line find('P') instead of find('DIV') read README for more information
explanation for line 59 and 60 added