Preparation consists of devising or arranging the means or measures necessary for the commission of the offence. Preparation to commit an offence is punishable only when the preparation is to commit offences under section 122 (waging war against the Government of India) and section 399 (preparation to commit dacoit)