slight efficiency improvement