somethin is still wrong, but it might be with the pulse/constant assumptions