selecting the correct p element