-add main fame and main panel