Expand frame and add some debug