added selection of day of week
added license comments