video and picture implementation