added convenience constructor