Refactoring on point checks and moved variable near to its use