adds support for multiple foci