Fixing an error and adding the beginnings of an 'add' view