part setting constructor