Remove uneeded func