all prefill functions now work. used keyup AND keypress. Also, Refactored