added fragment method