added .ready support