return the last created key