code and pic