added testing buttons and correted function call