Restructing and fragments work