simpler version.