Lab4 - need to fix scanning