add array & method
reimplementation method and array