Then in methods ,we have addpost() and here, We are establishing a relationship in this new object between author, title and label with this.newAuthor, this.newTitle, this.newLabel. we have post array ,there we are pushing this new object that we created with all of the information onto that. (u can see in image above) Then we are emptying out all of those things, so we’re giving them empty strings again.