added name to p tag in div