step function rudiments, not working yet