added deleting frames, default options in adding frames