javadic and remove unused method