created check for ready