Apocalypse library and code when it need to be used