temporary work for @sk- will replace his type annotator.