adding codes works by date now