got gascan working
did some refactoring