Writing code for nsf proposal