week api skeleton and test code