database parsing added