added ts types