fixed typo
removed unused method