skeleton for fragment method