adding dir and code for doing stimulus times