fixed some silly mistakes
added a simple examples