The longest unbranched chain containing the functional group is the parent molecule, or simply the longest unbranched chain for alkanes. Remember that, the longest chain can go round a bend.