Will now insert correctly in DB