added fail support. need to fix reloading data types