more code for tatbs