dried up code a bit