added atomic include to types.hpp