adding alchemy code