implemented functions

Signed-off-by: Justin Lutz <jlutz@alum.wpi.edu>