adding error if goinstant isn't defined