refactoring stament_part