function: remove unused method