Updated extend statement to extends