implemented readyFor function