removed reference to array key of return to support older PHP versions