implements method invocation
array creation is not implemented yet