A basic prototype for hw2