added method for setting and clearing shadow, also added demo