added functionality for an array of one poi