continuation of our cmpt470 project