picture conversion function is added