added scanning stuff