Deleting useless function