created second data type to protect patricia from local variables