moved convenience constructor into an extension