Simple scanner implemented