Scanner and some statements