Preparations before coding