first and second programs