removing no longer used function