know how to get frame for display