changed pulse from a bool to a pulse type
three different pulse types