added method toString()