added working date and text functions.