changed to varible date