moving extending to extends. Closes #11