capturing a single frame