study typescript classes.