my attempt
added the adjusted result