adding spaces around plus, adding new function