removed unused variable, added default