warnings elimination, functions extracted