changed key submission method