daily update, fixed some minor bugs, added util methods