removed unneed function