started to add some typling rules