able to check if key exists