first version of dual justify