example to take pic