formatted; removed unused method