helperfunc implemented main Photo/Video