completes the constructor assignment