rm duplicate main + add imports