Example improved and $ added