i should really start testing things before committing them...