you want only the layout names which are in the passed data, right?