Added method toString to idea