can now handle cases without missing frames