implement ArrayInterface with Session