removed unneded function