switched to an array