Fragment implmentation added