started on add to function