changes to allow instance methods on arrays - not yet complete