extends definition