debugging and testing driver