doing away with typescript helpers