added ? to check for prop values