Making a custom panel