setFrame
added methods to manipulate the heade element