dried up some code