Fixed create function for eckey