added helpful comments to cui module