added endplate todo