new define function for skins