miscellenious code