Move initialize to top of module