converting skin to widget