seperated pictures and document functions