solved problem of multipll units by using += instead of <<