Adding through flatmap