implement array functionality