allow for nested keys too