now works to add and 'complete' data dynamically