working on it, going to use timer 4 for capture not timer 17, have to change things