made key smaller (code)