for first homework assignment