picture synchronization stuff