Tsc errors

Fixing issue #8