Removing useless function