added maximum of two drugs; still returns constant number of keys