moving main from old project