removed fuction no longer needed