add logic to raport tab