fixed dist; tweaked some things