adding two variables function