added src2key and key2src functions for source types