todo added to debug