using amp-keys for checking if empty. Closes #33