modified to check the new feature