insert quanty code