defination of primary secondary and tertiary machines