for bitmaker assignment 3