add the function of taking picture