created add-listing functionality