updated for prototype keyboard