adding if else variables