adding a countdown timer and some general stuff