update recipe to find first instance in layer
update recipe to find first instance in layer