the fragment code is still broke, its a little better now