Added attempt at timebtwnpeaks. hard to test