make sure function names as vars don't have fcn return type, fixes #3
make compatibility for arrays be when base types are the same, fixes #4