parseInt() was needed to get Add function to work