added minute, hour parameters