importing code from old boot