finalized ToL and fixed the correct response array