updated comments to reflect change argument order