added support for multiple spots