decomposing and redistributing the statement method - rename variables