public setters fxn pseudocode

version 1.