writing protocols
constant an step protocol