Mostly working scanner! :)