initial version of hw3-3