updated keyscan code - include release function