Database entry works