code amends

unused method removed