introducing code to search for characteristics