Extensions of the Erd¨os-Ko-Rado theorem