Switch to extends