added validation to Listing