First assignment code