Final Debug for Frontend