Create interact code