added a tag variable to Panel class+