assigns frame name
assigns frame to var