get scanner parser working