building a program with one night stands