Changed procedure domain variable to int instead of int unsigned