updated example and abstractScalar