removed unnecessary capture