made add private and combined into one method