Adding panel method codes