Add prototype for key evaluation function