alternative functions

I added simpler functions as alternatives. Just comment out the
function you don’t want