minor update to constructor