A&A assignment 1