Claims
        
                - 1. A compound of the formula ##STR5## and the pharmaceutically acceptable acid addition salts thereof, wherein X is S or NH; Y is CH, C.CH.sub.3 or N; R is hydrogen, hydroxymethyl, alkyl of 1 to 6 carbon atoms, --(CH.sub.2).sub.n Ar, --NH.sub.2, --NHR.sub.1 or --NHCOR.sub.1, wherein R.sub.1 is alkyl of 1 to 6 carbon atoms or --(CH.sub.2).sub.m Ar; n is an integer from 2 to 4; m is zero or an integer from 1 to 4; Ar is phenyl or phenyl monosubstituted with chloro, bromo, fluoro, alkyl of 1 to 3 carbon atoms or alkoxy of 1 to 3 carbon atoms; provided that when Y is N, X is NH and m is other than zero; and when X is S, R is other than hydroxymethyl, alkyl, or --(CH.sub.2).sub.n Ar.
 
                - 2. A compound of claim 1 wherein Y is CH.
 
                - 3. A compound of claim 2 wherein X is S.
 
                - 4. A compound of claim 3 wherein R is hydrogen.
 
                - 5. A compound of claim 3 wherein R is --NH.sub.2.
 
                - 6. A compound of claim 3 wherein R is --NHCOCH.sub.3.
 
                - 7. A compound of claim 3 wherein R is --NHCH.sub.3.
 
                - 8. A compound of claim 2 wherein X is NH.
 
                - 9. A compound of claim 8 wherein R is hydrogen, hydroxymethyl, methyl, --NH.sub.2, --NHCH.sub.3 or --NHCOCH.sub.3.
 
                - 10. A compound of claim 9 wherein R is hydrogen.
 
                - 11. A compound of claim 9 wherein R is hydroxymethyl.
 
                - 12. A compound of claim 9 wherein R is methyl.
 
                - 13. A compound of claim 9 wherein R is --NH.sub.2.
 
                - 14. A compound of claim 1 wherein Y is C.CH.sub.3.
 
                - 15. A compound of claim 14 wherein X is NH.
 
                - 16. A compound of claim 15 wherein R is hydrogen.
 
                - 17. A compound of claim 15 wherein r is methyl.
 
                - 18. A compound of claim 1 wherein Y is N.
 
                - 19. A compound of claim 18 wherein R is --NH.sub.2.
 
                - 20. A compound of claim 18 wherein R is methyl.
 
                - 21. A pharmaceutical composition comprising a pharmaceutically acceptable carrier and a gastric antisecretory effective amount of a compound of claim 1.
 
                - 22. A pharmaceutical composition of claim 21 wherein Y is CH, X is S and R is --NH.sub.2.
 
                - 23. A pharmaceutical composition of claim 21 wherein Y is CH, X is NH and R is hydrogen.
 
                - 24. A pharmaceutical composition of claim 21 wherein Y is CH, X is NH and R is hydroxymethyl.
 
                - 25. A pharmaceutical composition of claim 21 wherein Y is CH, X is NH and R is methyl.
 
                - 26. A pharmaceutical composition of claim 21 wherein Y is CH, X is NH and R is --NH.sub.2.
 
                - 27. A pharmaceutical composition of claim 21 wherein Y is N, X is NH and R is methyl.
 
                - 28. A pharmaceutical composition of claim 21 wherein Y is N, X is NH and R is NH.sub.2.
 
                - 29. A method of treating gastric hyperacidity in a subject in need of treatment comprising administering to said subject a gastric antisecretory effective amount of a compound of claim 1.
 
                - 30. A method of claim 29 wherein Y is CH, X is S and R is --NH.sub.2.
 
                - 31. A method of claim 29 wherein Y is CH, X is NH and R is hydrogen.
 
                - 32. A method of claim 29 wherein Y is CH, X is NH and R is hydroxymethyl.
 
                - 33. A method of claim 29 wherein Y is CH, X is NH and R is methyl.
 
                - 34. A method of claim 29 wherein Y is CH, X is NH and R is --NH.sub.2.
 
                - 35. A method of claim 29 wherein Y is N, X is NH and R is --NH.sub.2.
 
                - 36. A method of claim 29 wherein Y is N, X is NH and R is methyl.
 
        
                
                        CROSS REFERENCE TO RELATED APPLICATION
        This application is a continuation-in-part of U.S. patent application Ser. No. 196,231, filed Oct. 14, 1980, now abandoned.
                
                
                
                            US Referenced Citations (5)
            
            Foreign Referenced Citations (1)
            
                
                    
                        | Number | 
                        
                        Date | 
                        Country | 
                    
                
                
                        
                            | 3640 | 
                            
                            Jun 1979 | 
                            EPX | 
                        
                
            
                        Continuation in Parts (1)
        
            
                
                     | 
                    Number | 
                    Date | 
                    Country | 
                
            
            
    
        | Parent | 
            196231 | 
        Oct 1980 | 
         |