working on frame manager