added silverlight support