sketch for the main frame