functions work to an extent

Signed-off-by: Stuart Long <srl51@case.edu>