fixed some stuff, messing around with another up/down pulse thing