decomposing and redistributing the statement method - removing thisAmount temp variable