export this function for convenience sake