put everything in a hardcore closure