Added code for ready status, doesn't work.