support daily or weekly operation

also clean up attribute and instance-variable usage