minor function update