added frame stuff