add first version of register window