delete the unneeded ready function