staniol refatoring