Changed back to an array and added example usage