adding 1-daily trigger
bug fix, removing test code