adds post on eventlistener