Organic compounds containing hetero rings