add constants and root