added more functions to day3 files