returns with error when not yet ready