Code format and added gif image