added typespec