move new/1 to top of module functions