simplified Object Factory