make constructor work without new
1.0.6