Solution the 'interactions' script