remove unneeded function