added rudimentary friction