updated overlay clock, added checking for supplies