added functionality

deleteAttribute now has functionality