adding design to examples
minor fixes