changed ready? to use state instead of status