updated type example
minor changes