create 'add' method